<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
  <title>志愿选择系统</title>
  <style>
    /* 页面整体样式 */
    body {
      font-family: Arial, sans-serif;
      background-color: #f5f5f5;
      color: #333;
      margin: 0;
      padding: 0;
    }

    h1 {
      text-align: center;
      color: #6a5acd;
      margin-top: 20px;
    }

    .button-container {
      display: flex;
      justify-content: center;
      margin-top: 30px;
    }

    .button {
      background-color: #e6e6fa; /* 淡紫色背景 */
      color: #483d8b; /* 深紫色字体 */
      border: none;
      padding: 15px 30px;
      margin: 10px;
      border-radius: 5px;
      cursor: pointer;
      font-size: 16px;
      transition: background-color 0.3s ease;
    }

    .button:hover {
      background-color: #d3d3f2; /* 浅紫色 */
    }

    .button:focus {
      outline: none;
    }
  </style>
</head>
<body>

<h1>志愿选择系统</h1>

<!-- 按钮容器 -->
<div class="button-container">
  <form action="selectSystemServlet" method="post">
    <button class="button" type="submit" name="action" value="openFirstChoice">开放第一志愿</button>
    <button class="button" type="submit" name="action" value="openSecondChoice">开放第二志愿</button>
    <button class="button" type="submit" name="action" value="openThirdChoice">开放第三志愿</button>
    <button class="button" type="submit" name="action" value="openFreeChoice">开放自由选择</button>
  </form>
</div>

</body>
</html>